package com.turing.post.salesmanage.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 销售单持卡人实名明细业务接口
 * @author zxp
 * @Dec 23, 2012
 */
@Remote
@Local
public interface SaleOrderRealNameDetailBusiness {

	/**
	 * 新增销售单持卡人实名明细
	 * 
	 * @param saleOrderRealNameDetail 销售单持卡人实名明细
	 * @throws PCPSApplicationException
	 */
	public void insertSaleOrderRealNameDetailInfo(
			SaleOrderRealNameDetail saleOrderRealNameDetail)
			throws PCPSApplicationException;

	/**
	 * 修改销售单持卡人实名明细
	 * 
	 * @param saleOrderRealNameDetail 销售单持卡人实名明细
	 * @throws PCPSApplicationException
	 */
	public void updateSaleOrderRealNameDetailInfo(
			SaleOrderRealNameDetail saleOrderRealNameDetail)
			throws PCPSApplicationException;

	/**
	 * 删除销售单持卡人实名明细
	 * 
	 * @param saleOrderRealNameDetail 销售单持卡人实名明细
	 * @throws PCPSApplicationException
	 */
	public void deleteSaleOrderRealNameDetailInfo(
			SaleOrderRealNameDetail saleOrderRealNameDetail)
			throws PCPSApplicationException;

	/**
	 * 删除销售单下所以持卡人实名信息
	 * 
	 * @param saleOrderId 销售单编号
	 */
	public void deleteSaleOrderRealNameDetailByOrderId(BigInteger saleOrderId)
			throws PCPSApplicationException;
}
